//
//  XDSegmentedView.h
//  HengHuaSupervision
//
//  Created by XD-XY on 3/21/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol  XDSengmentedViewDelegate<NSObject>
-(void)changeSengmentIndex:(int)index;
@end

@interface XDSegmentedView : UIView

@property (nonatomic,assign)id<XDSengmentedViewDelegate>delegate;

@property (nonatomic,strong)UIButton * leftButton;  //左边选项卡
@property (nonatomic,strong)UIButton * middleButton;  //中间选项卡
@property (nonatomic,strong)UIButton * rightButton;   //右边选项卡

@end
